package com.hu.hutool.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @Author CazCen
 * @Date 2021/11/22 19:49
 */
@Data
@Component
public class SpringConfig {
    
    @Value("${spring.cloud.client.ip-address}")
    private String ipAddress;

    @Value("${spring.application.name}")
    private String applicationName;

    @Value("${spring.application.instance_id}")
    private String instanceId;
}
